export default class UpPassService {
    static upPassService=null;

    static getInstance(){
        if(this.upPassService==null){
            this.upPassService=new UpPassService()
        }
        return this.upPassService
    }


    queryByIdAndPass(id,oldPass,$http) {
        return $http.get("systemUser", {params: {id: id, userPwd: oldPass}})
    }

    upUserPwd(params,$http){
        return  $http.put("systemUser/upUserPwd",params);
    }
}